﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainSite.Master" AutoEventWireup="true" CodeBehind="EvaluateEmployees.aspx.cs" Inherits="BSCMFF.Web.Pages.Evaluation_Setup.EvaluateEmployees" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>


<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

<bsc:EvaluationSelection ID="EvalSelection" runat="server" OnEvaluationSelectedIndexChanged="EvaluationSelectedIndexChanged" >
</bsc:EvaluationSelection>

<asp:Panel ID="PanelGrids" runat="server" Visible="False" 
        meta:resourcekey="PanelGridsResource1">
<br /><br />
<asp:Label ID="Label1" runat="server" Text="Evaluations waiting for Interview" 
        meta:resourcekey="Label1Resource1" ></asp:Label>
<br />
    <telerik:RadGrid ID="RadGridInterviewNeeded" runat="server" 
        AutoGenerateColumns="False" 
        onitemcommand="RadGridInterviewNeeded_ItemCommand" 
        AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" 
        CellSpacing="0" GridLines="None" meta:resourcekey="RadGridInterviewNeededResource1"
        >        
        <MasterTableView DataKeyNames="ID">
            <CommandItemSettings ExportToPdfText="Export to PDF" />
            <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
            </RowIndicatorColumn>
            <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
            </ExpandCollapseColumn>
            <Columns>
                <telerik:GridBoundColumn DataField="ID" FilterControlAltText="Filter ID column" 
                    HeaderText="ID" meta:resourcekey="GridBoundColumnResource1" SortExpression="ID" 
                    UniqueName="ID" Visible="False">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="User.Firstname" 
                    FilterControlAltText="Filter Firstname column" HeaderText="Firstname" 
                    meta:resourcekey="GridBoundColumnResource2" SortExpression="User.Firstname" 
                    UniqueName="Firstname">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="User.Lastname" 
                    FilterControlAltText="Filter Lastname column" HeaderText="Lastname" 
                    meta:resourcekey="GridBoundColumnResource3" SortExpression="User.Lastname" 
                    UniqueName="Lastname">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="User.Email" 
                    FilterControlAltText="Filter Email column" HeaderText="Email" 
                    meta:resourcekey="GridBoundColumnResource4" SortExpression="User.Email" 
                    UniqueName="Email" Visible="False">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="User.EmployeeID" 
                    FilterControlAltText="Filter EmployeeID column" HeaderText="EmployeeID" 
                    meta:resourcekey="GridBoundColumnResource5" SortExpression="User.EmployeeID" 
                    UniqueName="EmployeeID">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="SBU.Name" 
                    FilterControlAltText="Filter SBU.Name column" HeaderText="SBU" 
                    meta:resourcekey="GridBoundColumnResource6" SortExpression="SBU.Name" 
                    UniqueName="SBU.Name" Visible="False">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="User.Job_Position" 
                    FilterControlAltText="Filter Job_Position column" HeaderText="Job_Position" 
                    meta:resourcekey="GridBoundColumnResource7" SortExpression="User.Job_Position" 
                    UniqueName="Job_Position">
                </telerik:GridBoundColumn>
                <telerik:GridButtonColumn CommandName="Select" 
                    FilterControlAltText="Filter column column" 
                    meta:resourcekey="GridButtonColumnResource1" Text="Start Interview" 
                    UniqueName="column">
                </telerik:GridButtonColumn>
            </Columns>
            <EditFormSettings>
                <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                </EditColumn>
            </EditFormSettings>
        </MasterTableView>
        <FilterMenu EnableImageSprites="False">
        </FilterMenu>
        <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
        </HeaderContextMenu>
    </telerik:RadGrid>

    <br /><br />
    <asp:Label ID="LabelToEvaluate" runat="server" 
        Text="Employees Not Evaluated yet" meta:resourcekey="LabelToEvaluateResource1" ></asp:Label>
    <br />
        <telerik:RadGrid ID="RadGridNotEvaluatedEmployees" runat="server" 
            AutoGenerateColumns="False" 
        onitemcommand="RadGridNotEvaluatedEmployees_ItemCommand" 
        AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" 
        CellSpacing="0" GridLines="None" meta:resourcekey="RadGridNotEvaluatedEmployeesResource1"
            >
        
            <MasterTableView DataKeyNames="ID">
                <CommandItemSettings ExportToPdfText="Export to PDF" />
                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                </RowIndicatorColumn>
                <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridBoundColumn DataField="ID" FilterControlAltText="Filter ID column" 
                        HeaderText="ID" meta:resourcekey="GridBoundColumnResource8" SortExpression="ID" 
                        UniqueName="ID" Visible="False">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="User.Firstname" 
                        FilterControlAltText="Filter Firstname column" HeaderText="Firstname" 
                        meta:resourcekey="GridBoundColumnResource9" SortExpression="User.Firstname" 
                        UniqueName="Firstname">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="User.Lastname" 
                        FilterControlAltText="Filter Lastname column" HeaderText="Lastname" 
                        meta:resourcekey="GridBoundColumnResource10" SortExpression="User.Lastname" 
                        UniqueName="Lastname">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="User.Email" 
                        FilterControlAltText="Filter Email column" HeaderText="Email" 
                        meta:resourcekey="GridBoundColumnResource11" SortExpression="User.Email" 
                        UniqueName="Email" Visible="False">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="User.EmployeeID" 
                        FilterControlAltText="Filter EmployeeID column" HeaderText="EmployeeID" 
                        meta:resourcekey="GridBoundColumnResource12" SortExpression="User.EmployeeID" 
                        UniqueName="EmployeeID">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="SBU.Name" 
                        FilterControlAltText="Filter SBU.Name column" HeaderText="SBU" 
                        meta:resourcekey="GridBoundColumnResource13" SortExpression="SBU.Name" 
                        UniqueName="SBU.Name" Visible="False">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="User.Job_Position" 
                        FilterControlAltText="Filter Job_Position column" HeaderText="Job_Position" 
                        meta:resourcekey="GridBoundColumnResource14" SortExpression="User.Job_Position" 
                        UniqueName="Job_Position">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="DateFilled" DataFormatString="{0:d}" 
                        FilterControlAltText="Filter Filled column" HeaderText="Date Interviewed" 
                        meta:resourcekey="GridBoundColumnResource15" SortExpression="DateFilled" 
                        UniqueName="Filled">
                    </telerik:GridBoundColumn>
                    <telerik:GridButtonColumn CommandName="Select" 
                        FilterControlAltText="Filter column column" 
                        meta:resourcekey="GridButtonColumnResource2" Text="Evaluate" 
                        UniqueName="column">
                    </telerik:GridButtonColumn>
                </Columns>
                <EditFormSettings>
                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                    </EditColumn>
                </EditFormSettings>
            </MasterTableView>
            <FilterMenu EnableImageSprites="False">
            </FilterMenu>
            <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
            </HeaderContextMenu>
        </telerik:RadGrid>

    <br /><br />
    <asp:Label ID="LabelAlreadyEvaluated" runat="server" 
        Text="Employees Already Evaluated" 
        meta:resourcekey="LabelAlreadyEvaluatedResource1" ></asp:Label>
    <br />

    <telerik:RadGrid ID="RadGridEvaluatedEmployees" runat="server" 
            AutoGenerateColumns="False" 
            onitemcommand="RadGridEvaluatedEmployees_ItemCommand" 
            onitemdatabound="RadGridEvaluatedEmployees_ItemDataBound" 
        AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" 
        CellSpacing="0" GridLines="None" 
        meta:resourcekey="RadGridEvaluatedEmployeesResource1">
        <MasterTableView DataKeyNames="ID">
            <CommandItemSettings ExportToPdfText="Export to PDF" />
            <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
            </RowIndicatorColumn>
            <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
            </ExpandCollapseColumn>
            <Columns>
                <telerik:GridBoundColumn DataField="ID" FilterControlAltText="Filter ID column" 
                    HeaderText="ID" meta:resourcekey="GridBoundColumnResource16" 
                    SortExpression="ID" UniqueName="ID" Visible="False">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="User.Firstname" 
                    FilterControlAltText="Filter Firstname column" HeaderText="Firstname" 
                    meta:resourcekey="GridBoundColumnResource17" SortExpression="User.Firstname" 
                    UniqueName="Firstname">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="User.Lastname" 
                    FilterControlAltText="Filter Lastname column" HeaderText="Lastname" 
                    meta:resourcekey="GridBoundColumnResource18" SortExpression="User.Lastname" 
                    UniqueName="Lastname">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="User.Email" 
                    FilterControlAltText="Filter Email column" HeaderText="Email" 
                    meta:resourcekey="GridBoundColumnResource19" SortExpression="User.Email" 
                    UniqueName="Email" Visible="False">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="User.EmployeeID" 
                    FilterControlAltText="Filter EmployeeID column" HeaderText="EmployeeID" 
                    meta:resourcekey="GridBoundColumnResource20" SortExpression="User.EmployeeID" 
                    UniqueName="EmployeeID">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="SBU.Name" 
                    FilterControlAltText="Filter SBU.Name column" HeaderText="SBU" 
                    meta:resourcekey="GridBoundColumnResource21" SortExpression="SBU.Name" 
                    UniqueName="SBU.Name" Visible="False">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="User.Job_Position" 
                    FilterControlAltText="Filter Job_Position column" HeaderText="Job_Position" 
                    meta:resourcekey="GridBoundColumnResource22" SortExpression="User.Job_Position" 
                    UniqueName="Job_Position">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="DateFilled" DataFormatString="{0:d}" 
                    FilterControlAltText="Filter Filled column" HeaderText="Date Interviewed" 
                    meta:resourcekey="GridBoundColumnResource23" SortExpression="DateFilled" 
                    UniqueName="Filled">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="DateEvaluated" DataFormatString="{0:d}" 
                    DataType="System.DateTime" 
                    FilterControlAltText="Filter CurrentDateFilled column" 
                    HeaderText="Date Evaluated" meta:resourcekey="GridBoundColumnResource24" 
                    SortExpression="CurrentEEE.DateEvaluated" UniqueName="CurrentDateFilled">
                </telerik:GridBoundColumn>
                <telerik:GridButtonColumn CommandName="Select" 
                    FilterControlAltText="Filter column column" 
                    meta:resourcekey="GridButtonColumnResource3" Text="Show" UniqueName="column">
                </telerik:GridButtonColumn>
                <telerik:GridButtonColumn CommandName="Edit" 
                    FilterControlAltText="Filter column column" 
                    meta:resourcekey="GridButtonColumnResource4" Text="Edit" UniqueName="column">
                </telerik:GridButtonColumn>
            </Columns>
            <EditFormSettings>
                <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                </EditColumn>
            </EditFormSettings>
        </MasterTableView>
        <FilterMenu EnableImageSprites="False">
        </FilterMenu>
        <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
        </HeaderContextMenu>
    </telerik:RadGrid>
</asp:Panel>
</asp:Content>
